/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package session08;

import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;

/**
 *
 * @author sinhnx <sinhnx@fpt.aptech.ac.vn>
 */
public class HelloRemote extends UnicastRemoteObject implements IHello {

    public HelloRemote() throws RemoteException {
        super();
    }

    @Override
    public String sayHello(String name) throws RemoteException {
        return "Hello " + name;
    }
}
